<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="p1"></div>
		<!--<div id="p2"></div>-->
		<script>
			var b=0;
			var a=100;
			function ti(){				
//				var c=parseInt(a);
				a--;
				b++;
//				document.getElementById("p2").innerHTML="现在还剩下"+b+"秒";
				document.getElementById("p1").innerHTML="现在还剩下"+a+"秒";
				if(b==10){
//					setTimeout("location.href='https://hao.360.cn/'",1000);
					location.href='https://www.baidu.com/'
//					alert("121");
//					window.navigate("https://hao.360.cn/");
				}
			}
			setInterval("ti()",1000)
		</script>
	</body>
</html>
